Template:Country data New York (state)
This template is used on approximately 7,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Country data New York (state) is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
New York (state)
| Main article name (New York (state)) |
shortname alias |
New York |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of New York.svg |
Image name (File:Flag of New York.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1778 | Flag of New York (1778-1901).svg | |
1909 | Flag of New York (1909–2020).svg | |
naval | Flag of the United States.svg |
Example usage
{{flag|New York (state)}}
→ New York (state){{flag icon|New York (state)}}
→{{flag country|New York (state)}}
→ New York
Using a flag variant
{{flag|New York (state)|1778}}
→ New York (state){{flag icon|New York (state)|1778}}
→
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|New York (state)}}
→ New York Naval Militia{{flag icon|New York (state)|naval}}
→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|New York (state)}}
→ New York Air National Guard
This nation's navy flag is the same as its national flag, so Template:Navy produces the following:
{{navy|New York (state)}}
→ New York Naval Militia
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|New York (state)}}
→ New York Army National Guard
Related templates
Please see the following related country_data
templates:
Other information
Template:Country data Albany, New York | Albany, New York |
Template:Country data New York City | New York City |
TemplateData
TemplateData for Country data New York (state)
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |